*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
  }
  body{
    background-color: #c9d6ff;
    background: linear-gradient(to right,#e2e2e2,#c9d6ff);
  }

  /* Loading screen container the main */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #c9d6ff;
  z-index: 1000; /* Ensure it overlays all other content */
  flex-direction: column;
}

/* Spinner styles */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* Space between spinner and text */
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #4caf50; /* Customize the spinner color */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

/* Loading animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

  /* Loading screen container the for buttons */
spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #333;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}
/* Hide the sign-up form by default */
.container {
  display: none;
}

/* ===== CREATE SHOP POPUP ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}

.popup-box {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  animation: popIn 0.3s ease;
}

.popup-box h2 {
  color: #02360f;
  margin-bottom: 10px;
}

.popup-box p {
  color: #444;
  font-size: 16px;
  margin-bottom: 25px;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirm-btn, .cancel-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.confirm-btn {
  background: #1b8f8b;
  color: white;
}

.confirm-btn:hover {
  background: #6ee787;
}

.cancel-btn {
  background: #ea9797;
  color: #333;
}

.cancel-btn:hover {
  background: #ddd;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

  .container{
    background: #fff;
    width: 450px;
    padding: 1.5rem;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 20px 35px rgba(0,0,1,0.9);
  }
  .messageDiv{
    background-color: hsl(327,90%,28%);
    color: white;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1rem;
    opacity: 0;
    animation:fadeOut 7s forwords;
  }
  
  .form-title{
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1.3rem;
    margin-bottom: 0.4rem;
  }
  input{
    color: inherit;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #757575;
    padding-left: 1.5rem;
    font-size: 15px;
  }
  .input-group{
    padding: 1% 0;
    position: relative;
  }
  .input-group i{
    position: absolute;
    color: black;
  }
  .input-country {
    margin-bottom: 2rem;
    position: relative;
  }
  .input-country label {
  font-size: 14px;
  color: #757575;
  display: block;
  }
  .input-country select {
    width: 100%;
    padding: 8px;
    border: 1px solid #757575;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none; /* Hides default dropdown icon for consistent styling */
    cursor: pointer;
  }
  .input-country select:hover {
    border-color: hsl(327, 90%, 28%);
  }
  .input-country select:focus {
    border-color: hsl(327, 90%, 28%);
    box-shadow: 0 0 5px rgba(125, 125, 235, 0.5);
  }
  .input-country select option {
    font-size: 14px;
    padding: 8px;
  }
  .input-country::after {
  content: "\f107"; /* FontAwesome down arrow icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #757575;
}

  input:focus{
    background-color: transparent;
    outline: transparent;
    border-bottom: 2px solid hsl(327,90%,28%);
  }
  input::placeholder{
    color: transparent;
  }
  label{
    color: #757575;
    position: relative;
    left: 1.2em;
    top: -1.3em;
    cursor: auto;
    transition: 0.3s ease all;
  }
  input:focus~label,input:not(:placeholder-shown)~label{
    top: -3em;
    color: hsl(327,90%,28%);
    font-size: 15px;
  }
  .recover{
    text-align: right;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .recover a{
    text-decoration: none;
    color: rgb(125, 125, 235);
  }
  .recover a:hover{
    color: blue;
    text-decoration: underline;
  }

  .toggle-password {
    position: absolute;
    right: 40px;
    top: 1%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #757575;
    z-index: 10;
  }
  
  .btn{
    font-size: 1.1rem;
    padding: 8px 0;
    border-radius: 5px;
    outline: none;
    width: 100%;
    background: rgb(125, 125, 235);
    color: white;
    cursor: pointer;
    transition: 0.8s;
  }
  .btn:hover{
    background: #07001f;
  }
  .or{
    font-size: 1,1rem;
    margin-top: 0.5rem;
    text-align: center;
  }
  .icons{
    text-align: center;
  }
  .icons i{
    color: rgb(125, 125, 235);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    border: 2px solid #dfe9f5;
    margin: 0 15px;
    transition: 1s;
  }
  .icons i:hover{
    background: #07001f;
    font-size: 1.6rem;
    border: 2px solid rgb(125,125,235);
  }
  .links{
    display: flex;
    justify-content: space-around;
    padding: 0.4rem;
    margin-top: 0.9rem;
    font-weight: bold;
  }
  button{
    color: rgb(125, 125, 235);
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: bold;
  }
  button:hover{
    text-decoration:underline;
    color: blue;
  }
  
  .lost-user-screen {
  position: fixed;
  inset: 0;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.lost-user-card {
  background: #1e293b;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.profile-avatar {
  font-size: 48px;
  background: #334155;
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lost-title {
  font-size: 1.4rem;
  margin-top: 20px;
  font-weight: 700;
  color: #e2e8f0;
}

.lost-subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  margin-top: 8px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.user-placeholder {
  text-align: left;
  background: #0f172a;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.placeholder-text {
  color: #64748b;
}

.lost-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.lost-btn.logout {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}

.lost-btn.logout:hover {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}
